package com.alumni_circle;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * '@SpringBootApplication = @SpringBootConfiguration + @EnableAutoConfiguration + @ComponentScan
 * '@EnableScheduling 开启定时任务
 * '@MapperScan 扫描mapper
 *
 * @author 龙小虬
 * @since 2020-08-06 10:42
 */

@SpringBootApplication
@EnableScheduling
@MapperScan({"com.alumni_circle.core.mapper","com.alumni_circle.mapper"})
public class AppSpringBoot {

    public static void main(String[] args) {
        SpringApplication.run(AppSpringBoot.class, args);
    }
}